package com.hellobike.haxing.modules.supplier.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.List;

/**
 * @Description: t_supplier_info
 * @Author: haxing-boot
 * @Date: 2020-01-13
 * @Version: V1.0
 */
@Data
@TableName("t_supplier_info")
public class TSupplierInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private java.lang.Long id;
    /**
     * 供应商名称
     */
    @Excel(name = "供应商名称", width = 15)
    private java.lang.String supplierName;
    /**
     * 联系人姓名
     */
    @Excel(name = "联系人姓名", width = 15)
    private java.lang.String realName;
    /**
     * 联系人手机号
     */
    @Excel(name = "联系人手机号", width = 15)
    private java.lang.String mobile;
    /**
     * 负责人手机号
     */
    @Excel(name = "负责人手机号", width = 15)
    private java.lang.String bdMobile;
    /**
     * 联系人邮箱
     */
    @Excel(name = "联系人邮箱", width = 15)
    private java.lang.String mail;
    /**
     * 社会信用代码
     */
    @Excel(name = "社会信用代码", width = 15)
    private java.lang.String socialCreditCode;
    /**
     * 经营地址
     */
    @Excel(name = "经营地址", width = 15)
    private java.lang.String address;
    /**
     * 0.厂家直营1.一级代理2.二级代理3二级以下代理
     */
    @Excel(name = "0.厂家直营1.一级代理2.二级代理3二级以下代理", width = 15)
    private java.lang.Integer supplierType;
    /**
     * businessScope
     */
    @Excel(name = "businessScope", width = 15)
    private java.lang.String businessScope;
    /**
     * 年销售额
     */
    @Excel(name = "年销售额", width = 15)
    private java.lang.String annualSalesAmount;
    /**
     * 竞争对手
     */
    @Excel(name = "竞争对手", width = 15)
    private java.lang.String competitor;
    /**
     * 0.一般纳税人1.小规模纳税人
     */
    @Excel(name = "0.一般纳税人1.小规模纳税人", width = 15)
    private java.lang.Integer enterpriseNature;
    /**
     * 营业执照
     */
    @Excel(name = "营业执照", width = 15)
    private java.lang.String businessLicense;
    /**
     * 开户许可证
     */
    @Excel(name = "开户许可证", width = 15)
    private java.lang.String permitLicense;
    /**
     * 法人身份证正面
     */
    @Excel(name = "法人身份证正面", width = 15)
    private java.lang.String idCradF;
    /**
     * 法人身份证反面
     */
    @Excel(name = "法人身份证反面", width = 15)
    private java.lang.String idCradS;
    /**
     * 品牌授权书
     */
    @Excel(name = "品牌授权书", width = 15)
    private java.lang.String brandAuthorization;
    /**
     * 商标注册证
     */
    @Excel(name = "商标注册证", width = 15)
    private java.lang.String trademarkLicense;
    /**
     * 质检报告
     */
    @Excel(name = "质检报告", width = 15)
    private java.lang.String qualityInspectionReport;
    /**
     * 供应类别
     */
    @Excel(name = "供应类别", width = 15)
    private java.lang.String supplyCategory;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    private java.lang.String remarks;
    /**
     * 密码
     */
    @Excel(name = "密码", width = 15)
    private java.lang.String supplierPassword;
    /**
     * 状态 0待审核，1审核通过，2审核不通过,3停用，4启用
     */
    @Excel(name = "状态 0待审核，1审核通过，2审核不通过,3停用，4启用", width = 15)
    private java.lang.Integer state;
    /**
     * 审核不通过备注
     */
    @Excel(name = "审核不通过备注", width = 15)
    private java.lang.String auditRemarks;
    /**
     * 城市
     */
    @Excel(name = "城市", width = 15)
    private java.lang.String city;
    /**
     * createTime
     */
    @Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;
    /**
     * updateTime
     */
    @Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date updateTime;
    /**
     * createBy
     */
    @Excel(name = "createBy", width = 15)
    private java.lang.Integer createBy;
    /**
     * updateBy
     */
    @Excel(name = "updateBy", width = 15)
    private java.lang.Integer updateBy;
    /**
     * deleted
     */
    @Excel(name = "deleted", width = 15)
    @TableLogic
    private java.lang.Integer deleted;

    @TableField(exist = false)
    private List<String> supplyCategorys;

    @TableField(exist = false)
    private String supplyCategoryStr;

    private Long departId;
}
